home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 February: Tool Chest / Dev.CD Feb 94.toast / Tool Chest / Development Platforms / AppsToGo / AppsToGo.src / AppsToGo.Changes / •••AppsToGo.Changes•••
Encoding:
Text File  |  1993-06-18  |  8.8 KB  |  263 lines  |  [TEXT/MPS ]

  1. AppWannabe Changes:
  2.  
  3. DoEvent.c:
  4.  
  5. •    TSMTE support was added for activate events.  Normally TSM event support is added
  6.     in a single place in the application.  In this case, the TSMEvent call is
  7.     distributed so that it is called only when needed to support TSMTE.
  8.  
  9.  
  10. IdleTasks.c:
  11.  
  12. •    TSMTE support was added.  TSMEvent is called for null events so that the input
  13.     method can correctly display the cursor.
  14.  
  15. •    IsCtlEvent is called for null events, as IsCtlEvent has been updated to handle
  16.     balloon help for controls with balloon help defined for them.
  17.  
  18.  
  19. Menu.c:
  20.  
  21. •    A bug fix.  DA windows weren't always getting closed.
  22.  
  23.  
  24. Start.c:
  25.  
  26. •    A header has been included that includes tons of other headers.  The reason for
  27.     this is that THINK C will only let you search headers that have been included
  28.     into the project.  This allows you to search headers that aren't actually used
  29.     in the application.  The reason that Start.c has this include is that Start.c
  30.     is seldomly changed, and therefore the time hit for including all of these
  31.     unused headers is reduced.
  32.  
  33. •    TSMTE support has been added.  The TSMTE startup and shutdown are added to Start.c
  34.  
  35.  
  36. Window.c:
  37.  
  38. •    A bug fix.  When the final page is printed, gPrintPage is supposed to be set to 0.
  39.     This addition means that printing will print only one page.  Without this addition,
  40.     it kept spewing out pages.
  41.  
  42.  
  43. WindowDialog.c:
  44.  
  45. •    A change was mode in the framework so that it no longer uses a regular dialog
  46.     for reporting errors.  Instead, it uses a framework dialog of type 'ERR#'.  Code
  47.     has been added so that the error number is reported for dialogs of this type.
  48.     If you wish to do more, then you can change the code in the DialogInitContent
  49.     function to something more robust.
  50.  
  51.  
  52.  
  53. DTS.Draw Changes:
  54.  
  55. File.c:
  56.  
  57. •    A line tool was added to DTS.Draw.  In addition, pen size and color attributes were
  58.     added to the objects.  The 'PENS' document type is a dialog for setting the pen size.
  59.  
  60.  
  61. IdleTasks.c:
  62.  
  63. •    TSMTE support was added.  TSMEvent is called for null events so that the input
  64.     method can correctly display the cursor.
  65.  
  66. •    IsCtlEvent is called for null events, as IsCtlEvent has been updated to handle
  67.     balloon help for controls with balloon help defined for them.
  68.  
  69.  
  70. Menu.c:
  71.  
  72. •    Changes were made to support the new menu for pen size and color.
  73.  
  74.  
  75. Start.c:
  76.  
  77. •    A header has been included that includes tons of other headers.  The reason for
  78.     this is that THINK C will only let you search headers that have been included
  79.     into the project.  This allows you to search headers that aren't actually used
  80.     in the application.  The reason that Start.c has this include is that Start.c
  81.     is seldomly changed, and therefore the time hit for including all of these
  82.     unused headers is reduced.
  83.  
  84. •    TSMTE support has been added.  The TSMTE startup and shutdown are added to Start.c
  85.  
  86.  
  87. TGroupObj.c:
  88.  
  89. •    A change was made to the messages for the objects.  There are now two types of rects.
  90.     The first type is the rect that defines the object.  The second rect is the bounding
  91.     box of the object.  Prior to the line object, these two rects were the same.  However,
  92.     with the line object, part of the line can extend outside the object rect, due to the
  93.     pen width of the line.  Also, there was a compare message added so that it could more
  94.     easily be determined if an object changed.  The rect used to be compared for this
  95.     purpose, but with the additional ways that an object can be changed, this was no longer
  96.     adequate.
  97.  
  98.  
  99. TOvalObj.c:
  100.  
  101. •    The objects also now draw themselves with the additional attributes.  Each object draws
  102.     itself in color, and with the correct width for the border and the interior.  Also, the
  103.     same changes were made to the oval object as the group object.
  104.  
  105.  
  106. TPieObj.c:
  107.  
  108. •    Same type of changes as TOvalObj.c.
  109.  
  110.  
  111. TRectObj.c:
  112.  
  113. •    Same type of changes as TOvalObj.c.
  114.  
  115.  
  116. TreeObj2.h:
  117.  
  118. •    A sub-message for selecting an object without drawing the new selection state was added.
  119.  
  120.  
  121. TRRectObj.c:
  122.  
  123. •    Same type of changes as TOvalObj.c.
  124.  
  125.  
  126. Window.c:
  127.  
  128. •    Lots of changes were made to support the new object type and editing features.
  129.  
  130.  
  131. WindowDialog.c:
  132.  
  133. •    A change was mode in the framework so that it no longer uses a regular dialog
  134.     for reporting errors.  Instead, it uses a framework dialog of type 'ERR#'.  Code
  135.     has been added so that the error number is reported for dialogs of this type.
  136.     If you wish to do more, then you can change the code in the DialogInitContent
  137.     function to something more robust.
  138.  
  139.  
  140.  
  141.  
  142. DTS.Lib Changes:
  143.  
  144. AERequired.c:
  145.  
  146. •    The order of start/restart for initial document creation and calling DoOpenApplication()
  147.     were backwards.  It is sometimes important to have the application startup windows created
  148.     prior to calling DoOpenApplication().  This allows startup functions to be able to reference
  149.     these other startup documents.
  150.  
  151.  
  152. AEWFMT.c:
  153.  
  154. •    A couple of bug fixed, plus one function was rewritten for efficiency.
  155.  
  156.  
  157. CtlHandler.c:
  158.  
  159. •    IsCtlEvent was extensively modified to support various new features, including
  160.     balloon help for controls with defined balloon help added with the AppsToGo editor.
  161.  
  162.  
  163. File.c:
  164.  
  165. •    Bug fixed, plus a file filter was added so that the application could choose different
  166.     file filtering and still use the framework's getfile and putfile functionality.
  167.  
  168.  
  169. GWLayers.c:
  170.  
  171. •    There was a bug where if two offscreens were created based on the screen depth, the
  172.     second wouldn't always get created with the correct depth.  This was due to that
  173.     the frst offscreen would get mapped correctly to the monitors, but the second one
  174.     would use a local rect instead of a global rect for the depth determination.  For
  175.     multiple monitor systems with varying depths, this could cause the incorrect depth
  176.     to be used for the second offscreen.  Now if a depth isn't indicated, instead of
  177.     always determining the depth based on the monitors, the depth of the above layer
  178.     is used.  If there is no above layer, then the depth of the monitor area encompassed
  179.     by the rect is used.  This gives the same intended functionality as before, but
  180.     fixes the bug.
  181.  
  182.  
  183. Init.c:
  184.  
  185. •    The order of start/restart for initial document creation and calling DoOpenApplication()
  186.     were backwards.  It is sometimes important to have the application startup windows created
  187.     prior to calling DoOpenApplication().  This allows startup functions to be able to reference
  188.     these other startup documents.
  189.  
  190.  
  191. ListControl.c:
  192.  
  193. •    The control style wasn't always reflected if the control was given a font or style
  194.     with the AppsToGo editor.  Now the correct font and style is always used, independent
  195.     of the type of edit that is being performed.
  196.  
  197.  
  198. StringUtils.c:
  199.  
  200. •    New functions were added for comparing handles and blocks of data.
  201.  
  202.  
  203. TextEditControl.c:
  204.  
  205. •    The TextEditControl has been modified to support TSMTE, if it is available.
  206.  
  207. •    Two new functions have been added to get a pascal string from a text edit control
  208.     and to put psacal strings into text edit controls.  These are called
  209.     CTEGetPStr and CTESetPStr.
  210.  
  211.  
  212. TreeObj.c:
  213.  
  214. •    A name change was made to be more consistent.
  215.  
  216. •    A standard message has been added to the object handling for comparing two objects.
  217.     The main function for the compare is EqualTreeObjData.  The default compare function
  218.     is DefaultEqualTreeObjData.
  219.  
  220.  
  221. Utilities.c:
  222.  
  223. •    Some bug fixed in terms of setting and restoring the font and style when managing
  224.     a control.  It is better practice to make the associated calls than to simply
  225.     slam the font and style values back into the grafPort.
  226.  
  227.  
  228. ViewHierarchy.c:
  229.  
  230. •    The code has been rewritten to use an AppsToGo editor definition of what the
  231.     view hierarchy window should look like.  This saves code and therefore makes the
  232.     application somewhat smaller.  (The data definition is smaller than the code.)
  233.  
  234.  
  235. Window2.c:
  236.  
  237. •    Bug fix in determining which monitor to initially display.  The order of the
  238.     search depended on which monitor device was found first when the Mac booted up.
  239.     Now it breaks out of a loop when the main device is desired and is found.
  240.  
  241. •    Bug fix where the outline of a window was dragged in front of a balloon help window.
  242.     The problem here was that the balloon window would be disposed of too soon, thus
  243.     causing a screen goober if the gray area of the window drag was over the balloon
  244.     window when released.  Now the gray area is dragged behind the balloon, and therefore
  245.     the balloon going away is no longer a problem.
  246.  
  247. •    Bug fix where the searching for the next window to handle a key down included
  248.     invisible windows.  Now the keys are passed only to visible windows.
  249.  
  250. •    Bug fix where a variable wasn't always initialized prior to usage.  It was
  251.     conditionally initialized, and therefore even the MPW compiler (and testing) didn't
  252.     catch it.
  253.  
  254. •    Bug fix where the old port wasn't restored as expected.
  255.  
  256. •    Bug fix where palette windows are now inactivated if a dialog is active in front
  257.     of them.  (The correct human interface thing to do.)
  258.  
  259. •    Bug fix where textedit and list controls disn't always get the correct default
  260.     font and style when created.
  261.  
  262.  
  263.